import { UserInfo } from "../common/UserInfo";

export class Debug {
   static logRes(){
        let data = UserInfo.instance.villageData
      
        let food = data.res.food_reserve
        let iron = data.res.iron_reserve 
        let mud = data.res.mud_reserve
        let wood = data.res.wood_reserve

        console.log(`当前资源量：粮食：${food}，铁矿：${iron}，石矿：${mud}，木材：${wood}`)
        
   }
}


